<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
</head>
<body>

<!-- 底部数据 -->
<div class="bottom" style="height: auto;" th:fragment="bottom">
    <div class="xj-bottom user-bottom" th:if="${config.bottomBlogroll != null || config.bottomContent != null}">
        <el-card class="box-card" style="background-color: #FFFFFF; margin-top: 1%;">
            <div class="links" style="text-align: center;">
                <p th:if="${config.bottomBlogroll !=null &&  config.bottomBlogroll.size() != 0}">友情链接</p>
                <p th:each="item ,star : ${config.bottomBlogroll}">
                    <span th:if="${ item.get('href') !=null  && item.href.substring(0,1) == '/'}">
                          <a th:href="${staticPath + item.href }" target="_blank">[[ ${item.title} ]]</a>
                    </span>
                    <span th:if="${item.get('href') !=null && item.href.substring(0,1) != '/'}">
                           <a th:href="${item.href}" target="_blank"> [[ ${item.title} ]] </a>
                    </span>
                </p>
            </div>

            <div class="clear"></div>
            <div class="bottom-contents" style="text-align: center;" th:if="${config.bottomContent !=null }">
                <p th:each="item ,star : ${config.bottomContent}">
                    [[ ${item.name} ]]
                    <span th:if="${ item.get('href') !=null  && item.href.substring(0,1) == '/'}">
                          <a th:href="${staticPath + item.href }" target="_blank">[[ ${item.title} ]]</a>
                    </span>
                    <span th:if="${item.get('href') !=null && item.href.substring(0,1) != '/'}">
                           <a th:href="${item.href}" target="_blank"> [[ ${item.title} ]] </a>
                    </span>
                </p>
            </div>
        </el-card>
    </div>

    <style>
        .xj-bottom li {
            list-style-type: none;
        }
    </style>
</div>
</body>
</html>

